//
//  AppDelegate.m
//  半糖框架
//
//  Created by afro on 15/12/9.
//  Copyright © 2015年 afro. All rights reserved.
//

#import "AppDelegate.h"
#import "CFBTTabBarVC.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    // 1.创建主窗口
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    // 2.设置窗口根控制器
    // 2.1创建自定义的tabBarController
    CFBTTabBarVC *btTabBarVC = [[CFBTTabBarVC alloc] init];
    
    self.window.rootViewController = btTabBarVC;
    
    // 显示窗口
    [self.window makeKeyAndVisible];
    
    return YES;
}


@end
